import request from "@/utils/request";

// 获取渠道列表
export function getPageApi(data) {
  return request({
    url: "/api/audit.process/index",
    method: "post",
    data: data,
  });
}

export function getRejectDataApi(data) {
  return request({
    url: "/api/audit.process/getRejectData",
    method: "post",
    data: data,
  });
}

export function getResultApi(data) {
  return request({
    url: "/api/audit.process/getResult",
    method: "post",
    data: data,
  });
}

export function auditAcceptApi(data) {
  return request({
    url: "/api/audit.process/accept",
    method: "post",
    data: data,
  });
}

export function auditRejectApi(data) {
  return request({
    url: "/api/audit.process/reject",
    method: "post",
    data: data,
  });
}

export function auditTransferApi(data) {
  return request({
    url: "/api/audit.process/transfer",
    method: "post",
    data: data,
  });
}

export function doCommentApi(data) {
  return request({
    url: "/api/audit.comment/create",
    method: "post",
    data: data,
  });
}